package com.FengChaoSystem.pojo;

import java.sql.Timestamp;

public class New {
    private int id;
    private String context;
    private String onlyId;
    private int userId;
    private int type;
    private Timestamp time;

    public New(int id, String context, String onlyId, int userId, int type, Timestamp time) {
        this.id = id;
        this.context = context;
        this.onlyId = onlyId;
        this.userId = userId;
        this.type = type;
        this.time = time;
    }

    public New() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public String getOnlyId() {
        return onlyId;
    }

    public void setOnlyId(String onlyId) {
        this.onlyId = onlyId;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public Timestamp getTime() {
        return time;
    }

    public void setTime(Timestamp time) {
        this.time = time;
    }
}
